<template>
  <div id="top-header">
    <dv-decoration-8 class="header-left-decoration" />
    <dv-decoration-5 class="header-center-decoration" />
    <dv-decoration-8 class="header-right-decoration" :reverse="true" />
    <div class="entry" @click="$router.push('/home')">进入管理系统</div>
    <div class="center-title">银发护航综合数据</div>
  </div>
</template>

<script>
export default {
  name: "TopHeader",
};
</script>

<style lang="scss">
#top-header {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;

  .entry {
    right: 20%;
    bottom: 10px;
    position: absolute;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    &:hover {
      cursor: pointer;
      color: #27d7dc;
    }
  }
  .header-center-decoration {
    width: 40%;
    height: 60px;
    margin-top: 30px;
  }

  .header-left-decoration,
  .header-right-decoration {
    width: 25%;
    height: 60px;
  }

  .center-title {
    position: absolute;
    font-size: 30px;
    font-weight: bold;
    left: 50%;
    top: 15px;
    transform: translateX(-50%);
  }
}
</style>
